package org.lg.service;


import org.lg.dto.BaseDto;
import org.lg.entity.Course;
import org.lg.page.PageInfo;


public interface CourseService {
    public BaseDto getAllCourses() throws Exception;
    /**
     * 分页查询学生
     * @param pageInfo
     * @return
     */

    public BaseDto getCourseByPage(PageInfo pageInfo) throws Exception;

    /**
     * 根据主键查询 示范简单参数
     * @param cno
     * @return
     */

    public BaseDto getCourseByCno(String cno) throws Exception;

    public BaseDto addCourse(Course course) throws Exception;
    public BaseDto editCourse(Course course) throws Exception;
}
